package com.mfangsoft.zhuangjialong.integration.activity.model;

import java.io.Serializable;

/**
 *   活动基础活动内容选项关系表
 * table t_biz_activity_info_item
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseActivityInfoItem implements Serializable {
	/**
     *   id
     * column id
     *
     * @MLTH_generated
     */
    private Long id;

    /**
     *   活动id
     * column activity_id
     *
     * @MLTH_generated
     */
    private Integer activity_id;

    /**
     *   互动内容项
     * column itme_id
     *
     * @MLTH_generated
     */
    private Integer itme_id;

    /**
     *   购买金额
     * column buy_money
     *
     * @MLTH_generated
     */
    private Integer buy_money;

    /**
     *   抵扣金额
     * column mortgage_money
     *
     * @MLTH_generated
     */
    private Integer mortgage_money;

    /**
     *   使用金额
     * column use_money
     *
     * @MLTH_generated
     */
    private Integer use_money;

    /**
     *   是否签到礼
     * column sign
     *
     * @MLTH_generated
     */
    private Integer sign;

    /**
     *   是否必要条件
     * column isdefault
     *
     * @MLTH_generated
     */
    private Integer isdefault;
    /**
     *  礼品
     * column gift
     *
     * @MLTH_generated
     */
    private String gift;

    public String getGift() {
		return gift;
	}

	public void setGift(String gift) {
		this.gift = gift;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_activity_info_item
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getId() {
        return id;
    }

    /**
     *   id
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *   活动id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getActivity_id() {
        return activity_id;
    }

    /**
     *   活动id
     * @param activity_id the value for 
     *
     * @MLTH_generated
     */
    public void setActivity_id(Integer activity_id) {
        this.activity_id = activity_id;
    }

    /**
     *   互动内容项
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getItme_id() {
        return itme_id;
    }

    /**
     *   互动内容项
     * @param itme_id the value for 
     *
     * @MLTH_generated
     */
    public void setItme_id(Integer itme_id) {
        this.itme_id = itme_id;
    }

    /**
     *   购买金额
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getBuy_money() {
        return buy_money;
    }

    /**
     *   购买金额
     * @param buy_money the value for 
     *
     * @MLTH_generated
     */
    public void setBuy_money(Integer buy_money) {
        this.buy_money = buy_money;
    }

    /**
     *   抵扣金额
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getMortgage_money() {
        return mortgage_money;
    }

    /**
     *   抵扣金额
     * @param mortgage_money the value for 
     *
     * @MLTH_generated
     */
    public void setMortgage_money(Integer mortgage_money) {
        this.mortgage_money = mortgage_money;
    }

    /**
     *   使用金额
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getUse_money() {
        return use_money;
    }

    /**
     *   使用金额
     * @param use_money the value for 
     *
     * @MLTH_generated
     */
    public void setUse_money(Integer use_money) {
        this.use_money = use_money;
    }

    /**
     *   是否签到礼
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getSign() {
        return sign;
    }

    /**
     *   是否签到礼
     * @param sign the value for 
     *
     * @MLTH_generated
     */
    public void setSign(Integer sign) {
        this.sign = sign;
    }

    /**
     *   是否必要条件
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getIsdefault() {
        return isdefault;
    }

    /**
     *   是否必要条件
     * @param isdefault the value for 
     *
     * @MLTH_generated
     */
    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", activity_id=").append(activity_id);
        sb.append(", itme_id=").append(itme_id);
        sb.append(", buy_money=").append(buy_money);
        sb.append(", mortgage_money=").append(mortgage_money);
        sb.append(", use_money=").append(use_money);
        sb.append(", sign=").append(sign);
        sb.append(", isdefault=").append(isdefault);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}